Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monitor: Increase BOOTSTRAP_INVOCATION_DATA_SIZE #80

Merged

Conversation

nspin
Copy link
Member

@nspin nspin commented Oct 25, 2023

To enable protection domains with larger memory footprints.

https://github.com/seL4/rust-microkit-http-server-demo, for example, requires at least 122 seL4_Words.

@@ -79,7 +79,7 @@
*
* FIXME: This can be smaller once compression is enabled.
*/
#define BOOTSTRAP_INVOCATION_DATA_SIZE 110
#define BOOTSTRAP_INVOCATION_DATA_SIZE 256
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the comment could also get a few more words then, where the magic value roughly comes from.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this part of the monitor was sticking around it would be part of #49 but it's going to be removed in the transition to capDL so I think we'll leave the comment as it is for now.

@Ivan-Velickovic Ivan-Velickovic force-pushed the pr/increase-bootstrap-invocation-data-size branch 2 times, most recently from 6939aaa to 6c6cf3c Compare January 18, 2024 01:55
To enable protection domains with larger memory footprints.

Signed-off-by: Ivan Velickovic <[email protected]>
Co-authored-by: Nick Spinale <[email protected]>
@Ivan-Velickovic Ivan-Velickovic force-pushed the pr/increase-bootstrap-invocation-data-size branch from 6c6cf3c to 24c4129 Compare January 18, 2024 01:56
@Ivan-Velickovic
Copy link
Collaborator

Lowered to 150 as internally at TS we've been able to build fairly large systems without increasing it above 150. Not that it matters much as this part of the monitor will be removed soon once the capDL initialiser is used. I just didn't want to increase the number by too much since I'd like to do a comparison of memory usage before and after the capDL changes.

@Ivan-Velickovic Ivan-Velickovic merged commit 88666dc into seL4:main Jan 18, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants